package cn.ycc1.boot3mvc.common;

import lombok.Data;

/**
 * @author ycc
 * @date 2023/11/18
 */
@Data
public class Result<T> {
    private int code;
    private String message;
    private T data;

    // 构造方法、getter 和 setter 省略...
    public Result(int code, String message, T data) {
        this.code = code;
        this.message = message;
        this.data = data;
    }
}

